"""
#!/usr/bin/python3
# coding:utf-8            
#
# Copyright (C) 2024 - 2024 Jasonakeke， Inc. All Rights Reserved 
# @Desc	   ：
# @Time    : 2024/8/12 21:56
# @Author  : Code_By_Jasonakeke
# @Email   : 2284037977@qq.com
# @File    : 05-上下文.py
# @IDE     : PyCharm
"""
from flask import Flask

from item import item_bp

app = Flask(__name__)

app.register_blueprint(item_bp, url_prefix = '/item')


@app.route('/')
def hello_world():
	# 往 app 中设置任意一个参数
	app.laoxiao = '老夏'
	return 'hello world'


if __name__ == '__main__':
    app.run(debug = True)